package com.lpf.www.common.mapper;

import com.lpf.www.common.entity.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    User selectByPrimaryKey(Integer id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    User selectUserByUsername(String username);

    User selectUserByPhone(String phone);

    User selectUserByEmail(String email);
}